import React from 'react'
import { Cell } from 'react-vant'
import { useNavigate } from 'react-router-dom'

function biao({v,onClick}) {
  return (
    <div>
      <Cell onClick={onClick}

              title={
                <div>
                  {v.start}--{v.end}
                </div>
              }
              value={
                <div style={{ color: "red" }}>
                  <p>商务座{v.tick.vip}</p>
                  <p>一等座{v.tick.firstTick}</p>
                  <p>二等座{v.tick.secondTick}</p>
                </div>
              }
              label={
                <div>
                  {v.isSeat ? "有座" : "无座"}&nbsp;
                  {v.isSeat ? "有座" : "无座"}
                </div>
              }
            />
    </div>
  )
}

export default biao
